﻿<%@ Page Language="C#" %>

<%
    int hinhthuc = Int16.Parse(Request["hinhthuc"]);
    DateTime bd = DateTime.Parse(Request["batdau"]);
    DateTime kt = DateTime.Parse(Request["ketthuc"]);
    DTO.KhuyenMaiDto km = new DTO.KhuyenMaiDto();
    km.HinhThuc = hinhthuc;
    km.NgayBatDau = bd;
    km.NgayKetThuc = kt;
    Response.Write(BUS.KhuyenMaiBus.ThemKhuyenMai(km).ToString());
%>